package com.juc.base;

/**
 * @Author Zan
 * @Create 2024/5/9 14:00
 * @ClassName : TestDemo
 * @Description : TODO 请用一句话描述该类的功能
 */
public class TestDemo {
    public static void main(String[] args) {

        Thread t1 = new Thread(() -> {
            System.out.println("-----hello thread");
        }, "t1");
        t1.start();

    }

    public void mySort()
    {
        int x = 11; //语句1
        int y = 12; //语句2
        x = x + 5;  //语句3
        y = x * x;  //语句4
    }

}

class Dog {
    int age;
}
